var myChart6 = echarts.init(document.getElementById("container5"));
var app = {};
option6 = null;
option6 = {
    title: {
        text: '六号线',
        left: 'center'
    },
    series: [
        {
            name: '电压',
            type: 'gauge',
            detail: { formatter: '{value}V' },
            data: [{ value: 220}],
            min: 200,
            max: 250,
            splitNumber: 5
        }
    ]
};

setInterval(function () {
    option6.series[0].data[0].value = (Math.random() + 220).toFixed(1) - 0;
    myChart6.setOption(option6, true);
}, 2000);
;
if (option6 && typeof option6 === "object") {
    myChart6.setOption(option6, true);
}